package com.luo.pojo;

public class Score {
    private int courseId;
    private int id;
    private String courseName;
    private double scoreNum;

    public Score() {
    }

    public Score(int courseId, int id, String courseName, double scoreNum) {
        this.courseId = courseId;
        this.id = id;
        this.courseName = courseName;
        this.scoreNum = scoreNum;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public double getScoreNum() {
        return scoreNum;
    }

    public void setScoreNum(double scoreNum) {
        this.scoreNum = scoreNum;
    }

    @Override
    public String toString() {
        return "Score{" +
                "courseId=" + courseId +
                ", id=" + id +
                ", courseName='" + courseName + '\'' +
                ", scoreNum=" + scoreNum +
                '}';
    }
}
